﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace Quartz.JobClass
{
    class Convert_Helper
    {
        private static Encoding Gb2312 = Encoding.GetEncoding("GB2312");
        public static string GetGb2312String(byte[] bsArray, int intIndex,int intCount)
        {
            return Gb2312.GetString(bsArray, intIndex, intCount);
        }
        public static byte[] GetBytes(string strResult)
        {
            return Gb2312.GetBytes(strResult);
        }        
    }
}
